package com.mask.common.core.constant;

/**
 * 安全相关常量
 */
public class SecurityConstants {
    /**
     * 管理员ID
     */
    public static final Long ADMIN_ID = 1L;

    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 令牌前缀
     */
    public static final String LOGIN_USER_KEY = "login_user_key";

    /**
     * 授权token
     */
    public static final String AUTHORIZATION = "Authorization";

    /**
     * 用户ID字段
     */
    public static final String DETAILS_USER_ID = "user_id";

    /**
     * 用户名字段
     */
    public static final String DETAILS_USERNAME = "username";
}